/**
 * Created by 周翔 on 2017/5/8.
 */
import * as types from './fundInfoMutationTypes';

const mutations = {
  [types.FUND_INFO_QUERY_BEGIN](state) {
    state.fundInfo = [];
  },
  [types.FUND_INFO_QUERY_SUC](state, {fundInfo}) {
    state.fundInfo = fundInfo;
  },
  [types.FUND_INFO_QUERY_COUNT_BEGIN](state) {

  },
  [types.FUND_INFO_QUERY_COUNT_SUC](state, {totalCount}) {
    state.totalCount = totalCount
  }
}

export default mutations;
